package com.wyhello.tube4.spring.model;


import java.util.List;

import com.wyhello.tube4.facade.TubeFacade;
import com.wyhello.tube4.pojo.Appendix;

public class AppendixModel {

	private TubeFacade facade;

	public TubeFacade getFacade() {
		return facade;
	}

	public void setFacade(TubeFacade facade) {
		this.facade = facade;
	}
	
	/**
	 * 换管记录信息的录入
	 * @param change 要录入的信息
	 * @return 返回是否录入成功
	 */
	public boolean saveAppendix(Appendix appendix){
		return facade.saveAppendix(appendix);
	}
	
	public List<Appendix> getAppendixList(int objid,String objname){
		return facade.getAppendixList(objid, objname);
	}
	
}
